package com.hk.blog.service;

import com.hk.blog.domain.PermissionMenu;
import com.hk.core.service.jpa.JpaBaseService;

import java.util.Set;

/**
 * @author Kevin
 * @date 2022-07-02 19:47
 */
public interface PermissionMenuService extends JpaBaseService<PermissionMenu, Long> {

    void updatePermMenus(Long permissionId, Set<Long> menuIds);

    Set<Long> findMenuIdsByPermissionId(Long permissionId);

    Set<Long> findPermissionIdsByMenuId(Long menuId);
}
